-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lowering vectorized pad #3261
base: main
Are you sure you want to change the base?
Lowering vectorized pad #3261
Conversation
This reverts commit d0addc4.
!build |
!build |
@@ -1001,6 +1001,94 @@ class CudaKernelGenerator : private kir::ConstIrVisitor { | |||
} | |||
|
|||
void handle(const TernaryOp* top) final { | |||
// Get vectorization information |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note for myself. merge this with LoadStoreOp
@@ -2306,9 +2306,22 @@ void IndexLowering::handle(const PadOp* pad) { | |||
|
|||
pred = GpuLower::current()->commonScalarMap().hoistScalar(pred, for_loops_); | |||
|
|||
#if 0 | |||
const auto prev_scope = active_scope_; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove commented code and open an issue to track this as alternative for when we needed to lift the ternary into an if statement later.
🥳 for green CI |
smoke test